﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
using Warehouse.Domain;
using Warehouse.Infrstructre.Interface;

namespace Warehouse.Infrstructre.Imp
{
    /// <summary>
    /// 产品信息表
    /// </summary>
    public class OutShipRepository:BaseRepository<OutShip>, IOutShipRepository
    {

        public OutShipRepository(EFCoreDBcontext db) : base(db) { }

        public async Task<int> AddAsync(OutShip t)
        {
            return await base.AddAsync(t);
        }

        public async Task<List<OutShip>> GetAllAsyns()
        {
            return await base.GetAllAsyns();
        }

        public async Task<List<OutShip>> GetAsync(Expression<Func<OutShip, bool>> expre)
        {
            return await base.GetAsync(expre);
        }

        public async Task<OutShip> GetModelAsync(int id)
        {
            return await base.GetModelAsync(id);
        }

        public async Task<int> UpdateAsync(OutShip t)
        {
            return await base.UpdateAsync(t);
        }

        public async Task<int> RemoveAsync(OutShip t)
        {
            return await base.RemoveAsync(t);

        }


    }
}
